<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>电子商城</title>
<link href="styles/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">
  <div id="head">
      


<script type="text/javascript">
	function checkLogin(){//判断是否是汉字、字母、数字组成
				var user = document.getElementById("hidden").value;
				if(user == null || user ==""){
					alert("您尚未登录，请先登录！");
				}				
			}
</script>
<div id="head">
	<input type="hidden" name="loginInfo" value="com.shop.web.common.UserInfo@18192b6" id="hidden"/>
	<input type="hidden" name="loginInfo" value="" id="loginInfo"/>
    <div class="banner">
     
     
     		<marquee><p style="font-size:14px;color:orange;text-align:center;">欢迎您!${user.name}</p></marquee>
     
     </div>
    <div class="nav">
        <a href="<c:url value="/GoodsShow"/>">首页</a> |
        <a href="<c:url value="/UserUpdate"/>">会员资料修改</a> |
        <a href="<c:url value="/GouWuCheList"/>">购物车</a> |
        <a href="<c:url value="/OrderList"/>">查看订单</a> |
        <a href="manage1.jsp">后台管理</a>
    </div>
  </div>
  </div>
  <div id="content">
    <div class="cartDet">
    <div class="order_bg">
    <h4>订单详细信息</h4>
        <div style="width:500px;height:300px;margin:10px auto;">
                	<p>会员姓名： ${user.name}</p>
                	<p>订 单 号： ${order.id}</p>
                	<p>收 件 人： ${receiver.name}</p>
                	<p>收件地址： ${receiver.address}</p>
                	<p>邮政编码： ${receiver.postalCode}</p>
                	<p>收件电话：${receiver.telephone}</p>
                	<p>备&nbsp;&nbsp;&nbsp;&nbsp;注： ${order.detail}</p>
            <table width="400" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="50%" >商品名称</td>
                <td width="25%" >单&nbsp;&nbsp;价</td>
                <td width="25%" >数&nbsp;&nbsp;量</td>
              </tr>
                <c:forEach items="${orderInfos}" var="Oi" varStatus="status">
                    <tr>
                        <td>${goods[status.count - 1].name}</td>
                        <td>${goods[status.count - 1].price}</td>
                        <td>${Oi.count}</td>
                    </tr>
                </c:forEach>
            </table>
             <p class="ali_center">
               <img src="images/29.gif" onclick="window.location.href='/OrderList'" style="border:0; cursor:hand"/>
             </p>     
      </div>
    </div>
  </div>
  </div>
</body>
</html>

